package com.yunkeji.system.domain.bo;

import com.yunkeji.common.core.validate.AddGroup;
import com.yunkeji.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.yunkeji.common.core.domain.BaseEntity;

/**
 * 用户钱包信息业务对象 ykj_app_user_wallet
 *
 * @author zhang
 * @date 2024-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppUserWalletBo extends BaseEntity {

    /**
     * user_wallet_info
     */
    @NotNull(message = "user_wallet_info不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 总计充值成功金币数量
     */
    @NotNull(message = "总计充值成功金币数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long chargeTotal;

    /**
     * 总计充值成功次数
     */
    @NotNull(message = "总计充值成功次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long chargeNum;

    /**
     * 总计提现成功钻石数
     */
    @NotNull(message = "总计提现成功钻石数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long withdrawTotal;

    /**
     * 总计提现成功次数
     */
    @NotNull(message = "总计提现成功次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long withdrawNum;

    /**
     * 金币余额
     */
    @NotNull(message = "金币余额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal goldBalance;

    /**
     * 钻石余额
     */
    @NotNull(message = "钻石余额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal diamondBalance;


}
